package kr.hkit.info.powerjava.ch14.lab.dto;

public class Student {

	private int num;
	private int kor;
	private int eng;
	private int math;
	private String name;
	public Student(int num, int kor, int eng, int math, String name) {
		this.num = num;
		this.kor = kor;
		this.eng = eng;
		this.math = math;
		this.name = name;
	}
	public Student(int num, String name) {
		this.num = num;
		this.name = name;
	}
	public Student() {
	}
	@Override
	public String toString() {
		return "[num=" + num + ", kor=" + kor + ", eng=" + eng
				+ ", math=" + math + ", name=" + name + "]";
	}
	
}
